<?php
declare(strict_types=1);

namespace Modules\Production\Http\Controllers;

use Catch\Base\CatchController as Controller;
use Illuminate\Http\Request;use Modules\Production\Repository\ProductionOrderDetailRepository;use Modules\Production\Repository\ProductionOrderRepository;

class BackReportController extends Controller
{

    /**
     * 分页查询备料明细
     * @param Request $request
     */
    public function backDetailList(Request $request){
        return ProductionOrderDetailRepository::getOrderDetail($request->all());
    }

    /**
     * 分页查询工单
     * @param Request $request
     * @return mixed
     */
    public function backOrderList(Request $request){
        return ProductionOrderRepository::getOrderList($request->all());
    }

}
